package guda.house.biz;

import guda.grape.autogen.common.page.BizResult;
import guda.house.biz.query.UnitQuery;
import guda.house.dal.dataobject.UnitDO;

public interface UnitBiz {

    BizResult detail(long id);

    BizResult list(UnitQuery unitQuery);

    BizResult delete(long id);

    BizResult create(UnitDO unitDO);

    BizResult update(UnitDO unitDO);

    BizResult queryForInit(Long buildingId);

    BizResult listForCommon(UnitQuery unitQuery);


}
